package com.xbongbong.paas.pojo;/*/*/

import com.alibaba.fastjson.JSONObject;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 表单设置开关
 * @author 魏荣杰
 * @date 2019/5/27 11:06
 * @since v1.0
 * @version v1.0
 */
@Setter
@Getter
@ToString
public class SwitcherPojo {
    private String config;
    private String name;
    private String value;
    private Long id;
    private Integer forbidden;

    /**
     * 表单设计开关中将value转换成json的形式返回给前端
     */
    private JSONObject jsonValue;

    public SwitcherPojo() {
    }

    public SwitcherPojo(String config, String name, String value, Long id) {
        this.config = config;
        this.name = name;
        this.value = value;
        this.id = id;
    }
}
